Tossing a Biased Coin

نویسنده

  • Michael Mitzenmacher
چکیده

When we talk about a coin toss, we think of it as unbiased: with probability one-half it comes up heads, and with probability one-half it comes up tails. An ideal unbiased coin might not correctly model a real coin, which could be biased slightly one way or another. After all, real life is rarely fair. This possibility leads us to an interesting mathematical and computational question. Is there some way we can use a biased coin to efficiently simulate an unbiased coin? Specifically, let us start with the following problem: Problem 1. Given a biased coin that comes up heads with some probability greater than one-half and less than one, can we use it to simulate an unbiased coin toss? A simple solution, attributed to von Neumann, makes use of symmetry. Let us flip the coin twice. If it comes up heads first and tails second, then we call it a 0. If it comes up tails first and heads second, then we call it a 1. If the two flips are the same, we flip twice again, and repeat the process until we have a unbiased toss. If we define a round to be a pair of flips, it is clear that we the probability of generating a 0 or a 1 is the same each round, so we correctly simulate an unbiased coin. For convenience, we will call the 0 or 1 produced by our simulated unbiased coin a bit, which is the appropriate term for a computer scientist. Interestingly enough, this solution works regardless of the probability that the coin lands heads up, even if this probability is unknown! This property seems highly advantageous, as we may not know the bias of a coin ahead of time. Now that we have a simulation, let us determine how efficient it is. Problem 2. Let the probability that the coin lands heads up be p and the probability that the coin lands tails up be q 1 p. On average, how many flips does it take to generate a bit using von Neumann’s method? Let us develop a general formula for this problem. If each round takes exactly f flips, and the probability of generating a bit each round is e, then the expected number of total flips t satisfies a simple equation. If we succeed in the first round, we use exactly f flips. If we do not, then we have flipped the coin f times, and because it is as though we have to start over from the beginning again, the expected remaining number of flips is still t. Hence t satisfies t e f 1 e f t

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Finding a most biased coin with fewest flips

We study the problem of learning the most biased coin among a set of coins by tossing the coins adaptively. The goal is to minimize the number of tosses to identify a coin i∗ such that Pr (coin i∗ is most biased) is at least 1 − δ for any given δ. Under a particular probabilistic model, we give an optimal algorithm, i.e., an algorithm that minimizes the expected number of tosses, to learn a mos...

متن کامل

UNBIASED COIN TOSSING WITH A BIASED COIN by

PrQcedures are exhibited and analyzed for converting a sequence of iid Bernoulli variables with unknown mean p into a Bernoulli variable with mean 1/2. The efficiency of several procedures is studied.

متن کامل

How to Lose with Least Probability

Two players alternate tossing a biased coin where the probability of getting heads is p. The current player is awarded α points for tails and α + β for heads. The first player reaching n points wins. For a completely unfair coin the player going first certainly wins. For other coin biases, the player going first has the advantage, but the advantage depends on the coin bias. We calculate the fir...

متن کامل

Quantum And Relativistic Protocols For Secure Multi-Party Computation

Secure multi-party computation is a task whereby mistrustful parties attempt to compute some joint function of their private data in such a way as to reveal as little as possible about it. It encompasses many cryptographic primitives, including coin tossing and oblivious transfer. Ideally, one would like to generate either a protocol or a no-go theorem for any such task. Very few computations o...

متن کامل

On the Number of Switches in Unbiased Coin-tossing

A biased coin is tossed n times independently and sequentially. A “head” switch is a tail followed by a head and a “tail” switch is a head followed by a tail. Joint Laplace transform for the number of “head” switches and “tail” switches are given. For the total number of switches, the central limit theorem and the large deviation principle are established.

متن کامل

Fairness in two-party random sampling

This report generalizes the results given by Cleve (1986) that bound the fairness achievable in a multyparty coin tossing protocol. By using essentially the same proof, we show similar bounds for a biased coin and then extend the result to sampling from an arbitrary distribution. We also show bounds for two-party computation of a function but do so only in the average case.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001